package jeopardy.common.protocol.game.stats;

import java.io.Serializable;

import jeopardy.common.protocol.game.play.GameRecordMsg;

public class GameRec implements Serializable{
	private static final long serialVersionUID = 1237843009L;
	
	private String creator;
	private String winner;
	private int pointsWon;
	private long startTime;
	private GameRecordMsg grm;
	
	public GameRec(String creator, String winner, int pointsWon, long startTime, GameRecordMsg grm) {
		super();
		this.creator = creator;
		this.winner = winner;
		this.pointsWon = pointsWon;
		this.startTime = startTime;
		this.grm = grm;
	}
	public String getCreator() {
		return creator;
	}
	public String getWinner() {
		return winner;
	}
	public int getPointsWon() {
		return pointsWon;
	}
	public long getStartTime() {
		return startTime;
	}
	public GameRecordMsg getGrm(){
		return grm;
	}
}
